<!--
 * @Descripttion: 
 * @version: 
 * @Author: sueRimn
 * @Date: 2022-04-23 21:01:57
 * @LastEditors: sueRimn
 * @LastEditTime: 2022-04-23 21:13:30
-->
<template>
  <div class="mod-config">
   <div style="font-size:20px" class="carInfo">
      <p>用户ID:{{config.userId}}</p>		
      <p>用户昵称：{{config.userName}}</p>
      <p>用户真实姓名：{{config.userRealname}}</p>
       <p>用户联系方式：{{config.userPhone}}</p>
      <p>用户已登记车辆数量：{{config.userCarnum}}</p>
      <p>用户常用车型:{{config.userCommonCarType}}</p>
   </div>
  </div>
</template>

<script>
export default {
  data() {
    return {

      config: {
        
      }
    };
  },

  activated() {
    this.getDataList();
  },
  methods: {
    // 获取数据列表
    getDataList() {
      this.dataListLoading = true;
      this.$http({
        url: this.$http.adornUrl(`/car/user1/info/${this.getUserId()}`),
        method: "get"
      }).then(({ data }) => {
        if (data && data.code === 0) {
          this.config = data.user1;
        }
        this.dataListLoading = false;
      });
    },
   
  }
};
</script>
<style>
.brand-info__text {
  margin: 0 0 22px 0;
    font-size: 29px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
}
.brand-info__intro{
font-size: 14px;
    color: #999;
    margin-bottom: 50px;
}


</style>